export function importIcon() {
  const desktopIconList: string[] = []
  const files: any = import.meta.globEager('../assets/img/menuicon/*.png')
  for (const key in files) {
    desktopIconList.push(new URL(`${files[key].default ?? files[key]}`, import.meta.url).href)
  }
  // console.log(desktopIconList)
  return [desktopIconList[0], desktopIconList[15], desktopIconList[2]]
  // return desktopIconList
}

export function importSettingIcon() {
  const iconList: string[] = []
  const files: any = import.meta.globEager('../assets/img/sys/*.png')
  for (const key in files) {
    iconList.push(new URL(`${files[key].default ?? files[key]}`, import.meta.url).href)
  }
  return iconList
}

export function importIndividuationIcon() {
  const iconList: string[] = []
  const files: any = import.meta.globEager('../assets/img/individuation/*.png')
  for (const key in files) {
    iconList.push(new URL(`${files[key].default ?? files[key]}`, import.meta.url).href)
  }
  return iconList
}
